package cn.tcmp.service;

import cn.tcmp.dao.DetailMapper;
import cn.tcmp.entity.Detail;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DetailServiceImpl implements DetailService {
    @Autowired
    private DetailMapper detailMapper;


    @Override
    public List<Detail> queryAll(Integer sortId) {
        return detailMapper.queryAll(sortId);
    }


}
